package dao;

import bean.Product;

import java.util.ArrayList;

public interface ProductDao {
    int insert(Product product);
    int delete(Integer id);
    int update(Product product);
    Product queryById(Integer id);
    ArrayList<Product> queryAll();
}
